$OpenBSD: patch-etc_netatalk_Makefile_in,v 1.2 2015/12/30 05:56:47 ajacoutot Exp $

Pick-up libevent2 from LOCALBASE.

--- etc/netatalk/Makefile.in.orig	Tue Dec 29 03:02:05 2015
+++ etc/netatalk/Makefile.in	Wed Dec 30 06:50:05 2015
@@ -101,7 +101,7 @@ sbin_PROGRAMS = netatalk$(EXEEXT)
 @USE_BUILTIN_LIBEVENT_TRUE@	$(top_builddir)/libevent/libevent.la
 
 @USE_BUILTIN_LIBEVENT_FALSE@am__append_3 = @LIBEVENT_CFLAGS@
-@USE_BUILTIN_LIBEVENT_FALSE@am__append_4 = @LIBEVENT_LDFLAGS@ -levent
+@USE_BUILTIN_LIBEVENT_FALSE@am__append_4 = @LIBEVENT_LDFLAGS@ $$(pkg-config --libs libevent)
 subdir = etc/netatalk
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/macros/afs-check.m4 \
